<template>
  <div class="home">
    <h1>姓名：{{ name }}</h1>
    <h1>年龄：{{ age }}</h1>
    <h1>标题：{{ title }}</h1>
  </div>
</template>

<script>
export default {
  inject: ['name', 'age','title']
}
</script>
<style scoped></style>
